<h1>Add an Owner</h1>

<p><?php echo validation_errors(); ?></p>
<form action="<?php echo site_url('owners'); ?>/add" method="post">
<fieldset>
        <legend>Owner Information</legend>
				<?php if(isset($id)):?>
				 <input type='hidden' name='id' value='<?php echo $id; ?>' />
				<?php endif;?>
				 <label for="fname">First Name:</label><input type="text" name="fname" id="fname" tabindex="1" value="<?php echo set_value('fname'); ?>" />
				 <label for="lname">Last Name:</label><input type="text" name="lname" id="lname" tabindex="2" value="<?php echo set_value('lname'); ?>" /><p/>
        <label for="address">Street Address:</label><input type="text" name="address" id="address" tabindex="3" size="53" value="<?php echo set_value('address'); ?>" /><p/>
        <label for="city">City:</label><input type="text" name="city" id="city" tabindex="4" size="26" value="<?php echo set_value('city'); ?>" />
				<label for="state">State:</label><input type="text" name="state" id="state" tabindex="6" size="26" value="<?php echo set_value('state'); ?>" />
        <label for="zip">Zip:</label><input type="text" name="zip" id="zip" maxlength="5" size="5" tabindex="6" value="<?php echo set_value('zip'); ?>" /><p/>
        <label for="phoneHome">Phone(Home):</label><input type="text" size="14" name="phoneHome" id="phoneHome" tabindex="7" value="<?php echo set_value('phoneHome'); ?>"/>
        <label for="phoneCell">Phone(Cell):</label><input type="text" size="14" name="phoneCell" id="phoneCell" tabindex="8" value="<?php echo set_value('phoneCell'); ?>" />
        <label for="phoneWork">Phone(Work):</label><input type="text" size="14" name="phoneWork" id="phoneWork" tabindex="9" value="<?php echo set_value('phoneWork'); ?>"/><p/>
				<p><label for="email">Email:</label><input type="text" size="14" name="email" id="email" tabindex="10" value="<?php echo set_value('email'); ?>"/><p/>
        <label for="notes" class="topalign">Notes:</label><textarea id="notes" name="notes" tabindex="11" cols="61" rows="3"   ><?php echo set_value('notes'); ?></textarea><p/>

        <button type="submit" tabindex="12">Add A Pet &raquo;</button>
    </fieldset>
</form>
